package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.ServiceLevelDTO;

public interface ServiceLevelService {

    List<ServiceLevelDTO> index(Searchable searchable);

    Page<ServiceLevelDTO> page(Searchable searchable, Pageable pageable);

    ServiceLevelDTO create(ServiceLevelDTO dto, UserBean user);

    ServiceLevelDTO update(final Long id, final ServiceLevelDTO dto, final UserBean user);

    ServiceLevelDTO detail(final Long id);

    void updateReadingVolume(final Long id);

    void delete(final Long id);

}
